package com.itedge.infrastructure.web.controller.process;

import javax.servlet.http.HttpServletRequest;

import org.springframework.ui.Model;

import com.itedge.infrastructure.web.controller.IEntityController;

/**
 * Interface for all controller operating on process linked Entities.
 * 
 * @author jhe
 *
 */
public interface IProcessEntityController extends IEntityController {

	/**
	 * Show process entity, load all related tasks and adds them to model, 
	 * also handles if show request came from deleted task.
	 * 
	 * @param id
	 * @param model
	 * @param request
	 * @return name of view used for process entity rendering
	 */
	public String show(Long id, Model model, HttpServletRequest request);
	
}
